﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace Neoseeker.NAMFox.Tests.Configuration
{
    public class NeoseekerSection : ConfigurationSection
    {
        private const string CredentialsElementName = "credentials";
        private const string TargetElementName = "target";

        /// <summary>
        /// Gets or sets the privileged credentials.
        /// </summary>
        [ConfigurationProperty(CredentialsElementName)]
        public CredentialsElement Credentials
        {
            get { return (CredentialsElement)this[CredentialsElementName]; }
            set { this[CredentialsElementName] = value; }
        }

        /// <summary>
        /// Gets or sets the target configuration of the tests.
        /// </summary>
        [ConfigurationProperty(TargetElementName)]
        public TargetElement Target
        {
            get { return (TargetElement)this[TargetElementName]; }
            set { this[TargetElementName] = value; }
        }
    }
}
